home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5522 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Free cycles after a FAST-write?
  5. Date: 16 Mar 1996 03:06:16 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4idb78$b3p@sunsystem5.informatik.tu-muenchen.de>
  9. References: <38232831@kone.fipnet.fi> <666.6640T1273T725@ifi.uio.no>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Ludvig Pedersen (ludvigp@ifi.uio.no) wrote:
  14. : >I noticed a funny phenomena; I got 4 (four) free one-cycle
  15.  
  16. I also first thought free cycles are a thing of writing to chipmem.
  17. but: cpu needing resync to dma channel won't give anything free.
  18.  
  19. The rule is: 020+ can delay a mem store (to any mem, bus is bus)
  20. and continue with instructions that don't need a mem acess.
  21.  
  22. : >register instruction after a FAST-ram write on my
  23. : >Warp Engine, 68040/40, SetPatch executed.
  24. : >The loop:
  25. : >        REPT    32
  26. : >        move.l  d0,(a0)+        ;a0 points to FAST
  27. : >        move.l  d1,d1
  28. : >        move.l  d1,d1
  29. : >        move.l  d1,d1
  30. : >        move.l  d1,d1
  31. : >        ENDR
  32.  
  33. So I guess a mem store on your system is 5 cycles, kinda 32mb/sec ?
  34.  
  35. : I tested that a long time ago, but after I remeber I only got 2 free
  36. : instuctons on my 030/50mhz.
  37.  
  38. I guess a store needs 6 or 7 cycles on your system, 2 or 3 more than without
  39. waitstates.
  40.  
  41. : Anyway, its something one should be aware of when optimising.
  42. yep!
  43.  
  44. : Its not a funny phenomena but completly normal on fast cpu's.
  45.  
  46. like the 020-14 for example :->  2 free cycles after a fastmem write.
  47.  
  48. : <sb>Ludde - Amiga Demo Coder
  49. : <sb>Virtual Reality & Official Be developer
  50. : <sb>ludvigp@ifi.uio.no
  51. ------------------------------------------------------------------------
  52.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  53.  
  54.  
  55.  
  56.  
  57.